﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NaturalNote.Core.Database
{
    public interface IDataQuery
    {
        Task<T> Get<T>(string sql, object? param = null);
        Task<IEnumerable<T>> Query<T>(string sql, object? param = null);
    }
}
